<template>
	<view class="content">	
		<view class="uni-margin-wrap">
			<swiper class="swiper" circular indicator-dots="true" autoplay="true" interval="3500"
				duration="1000">
				<swiper-item>
					<view class="swiper-item"><image mode="aspectFill" :src="host+'/static/banner/banner1.png'"></image></view>
				</swiper-item>
				<swiper-item>
					<view class="swiper-item"><image mode="aspectFill" :src="host+'/static/banner/banner2.png'"></image></view>
				</swiper-item>
				<swiper-item>
					<view class="swiper-item"><image mode="aspectFill" :src="host+'/static/banner/banner3.png'"></image></view>
				</swiper-item>
				<swiper-item>
					<view class="swiper-item"><image mode="aspectFill" :src="host+'/static/banner/banner4.png'"></image></view>
				</swiper-item>
			</swiper>
		</view>
		<view class="panel_box"  data-url="/pages/guide/index" @click="goPage">

			<view class="secret_text">
				<view class="secret_text_top">企业公告</view>
				<view class="secret_text_bottom">全球综合性胶黏行业解决方案提供商</view>
			</view>
			
		</view>
		<view class="panel_box">
			<view class="panel_title">
				<view class="panel_title_left">产品列表</view>
				<view class="panel_title_right" data-type="switch" data-url="/pages/product/index" @click="goPage">更多</view>
			</view>
			
			
			<view class="panel_content">
				<scroll-view class="scroll-view_H" scroll-x="true" scroll-left="0">
					<view   class="scroll-view-item_H" v-for="(item,index) in productList" :key="index">
						<view class="scroll-view-img">
							<image mode="aspectFill" :src="host+'/static/banner/banner1.png'"></image>
						</view>
						<view class="scroll-view-title">{{item.name}}</view>
						
						<view class="scroll-view-dsc">
							<!--<rich-text :nodes="item.descrpt"></rich-text>-->
							<!--<rich-text v-if="item.summary"  :nodes="item.summary" ></rich-text>-->
							<rich-text :nodes="item.c_inv_code"></rich-text>
						</view>
						
					</view>
					
					
				</scroll-view>
				
			</view>
		</view>
		
		
		<view class="panel_box">
			<view class="panel_title">
				<view class="panel_title_left">帮助中心</view>
				<view class="panel_title_right" data-type="switch" data-url="/pages/article/index" @click="goPage">更多</view>
			</view>
			
			
			<view class="panel_content">
				<scroll-view class="scroll-view_H" scroll-x="true" scroll-left="0">
					<view   class="scroll-view-item_H" v-for="(item,index) in articleList" :key="index">
						<view class="scroll-view-img1">
							<image mode="aspectFill" :src="host+'/static/banner/banner1.png'"></image>
						</view>
						<view class="scroll-view-title">{{item.name}}</view>
						
						<view class="scroll-view-dsc">
							<!--<rich-text :nodes="item.descrpt"></rich-text>-->
							<!--<rich-text v-if="item.summary"  :nodes="item.summary" ></rich-text>-->
							<rich-text :nodes="item.name"></rich-text>
						</view>
						
					</view>
					
					
				</scroll-view>
				
			</view>
		</view>
		
		
	</view>
</template>




<script>
	import  parentPage from '@/common/parent-page.js';
	import {index} from './index.js';
	export default {mixins: [parentPage,index]}
</script>



<style>
	@import './index.css';
</style>
